package com.flash.variety.domain;

import java.util.Date;

/**
* @description: TODO
* @author admin
* @date 2023/2/214:28
* @version 1.0
*/
public class Preferential {

    private Integer pid;

    private String pname;

    private Integer pnum;

    private Integer usage;

    private Date startTime;

    private Date endTime;

    private Integer type;

    private Integer condition;

    private Integer whereUser;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPnum() {
        return pnum;
    }

    public void setPnum(Integer pnum) {
        this.pnum = pnum;
    }

    public Integer getUsage() {
        return usage;
    }

    public void setUsage(Integer usage) {
        this.usage = usage;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCondition() {
        return condition;
    }

    public void setCondition(Integer condition) {
        this.condition = condition;
    }

    public Integer getWhereUser() {
        return whereUser;
    }

    public void setWhereUser(Integer whereUser) {
        this.whereUser = whereUser;
    }

    @Override
    public String toString() {
        return "Preferential{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", pnum=" + pnum +
                ", usage=" + usage +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", type=" + type +
                ", condition=" + condition +
                ", whereUser=" + whereUser +
                '}';
    }
}
